package empox.pos.basicinfo;

public class StyleProductBean {
	public String account;
	public String style;
	public String styleName;

	public String price;
	public String sizeClass;

	public int colorCount;
	public int sizeCount;

	public String[] color;
	public String[] colorName;

	public String[] size;
	public String[] sizeName;

	public boolean[][] isproduct;

	public void setStyleName(String styleName) {
		if (styleName == null)
			this.styleName = "";
		else
			this.styleName = styleName;
	}

	public void setSizeClass(String sizeClass) {
		if (styleName == null)
			this.sizeClass = "";
		else
			this.sizeClass = sizeClass;
	}

	public void setColorCount(int count) {
		colorCount = count;
		color = new String[colorCount];
		colorName = new String[colorCount];
	}

	public void setSizeCount(int count) {
		sizeCount = count;
		size = new String[count];
		sizeName = new String[count];

	}

	public void setIsProduct(int colorCount, int sizeCount) {
		isproduct = new boolean[colorCount][sizeCount];
	}

	public void setIsProduct(int colorindex, int sizeindex, boolean bl) {
		isproduct[colorindex][sizeindex] = bl;
	}

	public boolean getIsProduct(int colorindex, int sizeindex) {
		return isproduct[colorindex][sizeindex];
	}
}
